package com.example.administrator.School;

import android.content.Intent;
import android.os.Bundle;
import android.widget.SimpleAdapter;

import com.example.administrator.School.common.result.Result;
import com.example.administrator.School.until.BaseDetailActivity;
import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;

/**
 * 个人中心
 */
public class MyActivity extends BaseDetailActivity<Map> {


    private List<Map<String, Object>> dataList;
    private SimpleAdapter adapter;
    @Override
    protected int getContentView() {
        return R.layout.activity_class_detail;
    }

    @Override
    protected boolean initBundle(Bundle bundle) {
        return true;
    }

    //页面传值回调
    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);

    }

    @Override
    public void initWidget() {
        super.initWidget();

    }

    @Override
    protected void initData() {
        super.initData();
    }

    @Override
    protected Type getType() {
        return new TypeToken<Result<Map>>() {
        }.getType();
    }

    @Override
    protected void setData(Result<Map> result) {

    }
}

